<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="m" uri="http://ding.com/mytag" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<style type="text/css">	

.errors{ color: red;}

</style>
</head>
<body >
	<m:div><m:out size="5">注册页面</m:out></m:div>
	<f:form method="post" modelAttribute="user" enctype="multipart/form-data">
		<f:label path="name" cssErrorClass="errors"><s:message code="msg"></s:message>:</f:label><f:input path="name" type="text"/>  
		 <f:errors path="name" cssClass="errors"/>
		 <input type="file" name="picture" >
		<input type="submit" value="提交">
	</f:form>
</body>
</html>